send json data in post request using curl